package com.foreverwin.mes.lims.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.foreverwin.mes.lims.model.DelayInactive;
import com.baomidou.mybatisplus.service.IService;
import com.foreverwin.mes.core.base.FrontPage;

import java.util.List;

/**
 * <p>
 * 延长呆滞时间 服务类
 * </p>
 *
 * @author Max
 * @since 2020-03-11
 */
public interface DelayInactiveService extends IService<DelayInactive> {

    /**
     *  分页查询
     * @param frontPage
     * @return
     */
    Page<DelayInactive> selectPage(FrontPage<DelayInactive> frontPage, DelayInactive delayInactive);

    List<DelayInactive> selectList(DelayInactive delayInactive);

    /**
     * 延长呆滞时间
     * @param delayInactive
     * @return
     */
    int delayActiveTime ( DelayInactive delayInactive ,String user);
}